#pragma once
#include "stdafx.h"

class MainFrame : public WindowImplBase
{
public:
    MainFrame();
    ~MainFrame();
    void InitWindow();
    virtual CDuiString GetSkinFile() override { return _T("showlog_pro.xml"); };
    virtual CDuiString GetSkinFolder() override { return L""; };
    virtual LPCTSTR GetWindowClassName() const { return _T("MainFrame"); }
    LRESULT HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
    void    Notify(TNotifyUI& msg);
private:
    void AddLogStr(LPARAM lParam);
    void OnClientBtn();
    void OnServerBtn();
private:
    CListUI* loading_list = nullptr;
    int index = 0;
};

